package com.situ.edu.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseVO {

    private Integer id; //1、课程id
    private String name; //3、课程名
    private Integer gredit;//4、学分
    private Integer xiId; //系id
    private Integer deleted;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private Integer studentId; //学生id
    private String studentName;//学生名
    private Integer userId;//学生连接user表的外键
    private Integer courseId; //课程id
    private Integer scores;//选修课分数

    private String xiName; //2、系名

    private Integer teacherName; //5、教师名

    private Integer teacherId; //教师id
    private String place; //6、上课地点


}
